#include <stdio.h>
#include <stdlib.h>

#define M 10

	int main()
{
	int a[M] = {0};
	int i,j,temp;
	
	for(i = 0;i < M;i++)
	{
		if(i == 0 || i == 1)
		{
			a[i] = 1;
		}
		else
		{
			a[i] = a[i-1] + a[i-2];
		}
	}
	i = 0;
	j = M-1;
	while(i < j)
	{
		temp = a[i];
		a[i] = a[j];
		a[j] = temp;
		i++;
		j--;
	}
	for(i = 0;i < M;i++)
	{
		printf("%d ",a[i]);
	}


	exit(0);
}
